package yang.learn.entity;

import java.io.Serializable;

public class ChatRoom implements Serializable {

    private int chat_id;
    private int chat_master_id;
    private int chat_admin_id;
    private int chat_friend_id;
    private String chat_name;

    public ChatRoom() {
    }

    public ChatRoom(int chat_id, int chat_master_id, int chat_admin_id, int chat_friend_id, String chat_name) {
        this.chat_id = chat_id;
        this.chat_master_id = chat_master_id;
        this.chat_admin_id = chat_admin_id;
        this.chat_friend_id = chat_friend_id;
        this.chat_name = chat_name;
    }

    @Override
    public String toString() {
        return "ChatRoom{" +
                "chat_id=" + chat_id +
                ", chat_master_id=" + chat_master_id +
                ", chat_admin_id=" + chat_admin_id +
                ", chat_friend_id=" + chat_friend_id +
                ", chat_name='" + chat_name + '\'' +
                '}';
    }

    public int getChat_id() {
        return chat_id;
    }

    public void setChat_id(int chat_id) {
        this.chat_id = chat_id;
    }

    public int getChat_master_id() {
        return chat_master_id;
    }

    public void setChat_master_id(int chat_master_id) {
        this.chat_master_id = chat_master_id;
    }

    public int getChat_admin_id() {
        return chat_admin_id;
    }

    public void setChat_admin_id(int chat_admin_id) {
        this.chat_admin_id = chat_admin_id;
    }

    public int getChat_friend_id() {
        return chat_friend_id;
    }

    public void setChat_friend_id(int chat_friend_id) {
        this.chat_friend_id = chat_friend_id;
    }

    public String getChat_name() {
        return chat_name;
    }

    public void setChat_name(String chat_name) {
        this.chat_name = chat_name;
    }
}
